package com.casstime.ec.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.jms.annotation.EnableJms;

import com.casstime.commons.custom.spring.cloud.config.PrepareConfigurations;
/**
 * ClassName: WebApplication 
 * Function: (服务启动类)
 * Reason: ADD REASON(可选).
 *  
 * @author wu.chen 
 * 2018年2月27日 下午1:56:46
 * @version   
 * @since JDK 1.8
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@PrepareConfigurations({"__common_database_", "__common_redis_", "__common_eureka_"})
@EnableJms
public class WebApplication {
	
	public static void main(String[] args) throws Exception {
		SpringApplication.run(WebApplication.class, args);
	}
	
}
